package reflect15.classdemo;

import java.io.IOException;
import java.net.URL;
import java.sql.Connection;
import java.util.Enumeration;

public class ClassDemo05
{

	/**
	 * @param args
	 */
	private static Connection conn;
	public static void main(String[] args) throws IOException
	{
		ClassLoader systemLoader = ClassLoader.getSystemClassLoader();
		System.out.println("系统类加载器："+systemLoader);
		Enumeration<URL> eml = systemLoader.getResources("");
		while(eml.hasMoreElements())
		{
			System.out.println(eml.nextElement());
		}
		ClassLoader el = systemLoader.getParent();
		System.out.println(el);
	}

}
